<?php
use yii\bootstrap\ActiveForm;
?>
<style>
	body {
		background:url(images/login_bg_0.jpg) #f8f6e9;
	}
</style>
<div class="signin">
	<div class="signin-head"><img src="images/test/head_120.png" alt="" class="img-circle"></div>
	<?php $form = ActiveForm::begin([
			'id' => 'login-form',
			'options' => [
				'class' => 'form-signin'
			]
		])
	; ?>
<!--	<form class="form-signin" role="form">-->
<!--		<input type="text" class="form-control" placeholder="用户名" required autofocus />-->
<!--		<input type="password" class="form-control" placeholder="密码" required />-->
	<?= $form->field($model, 'username')->textInput(['placeholder' => $model->getAttributeLabel('username')])->label(false) ?>
	<?= $form->field($model, 'password')->passwordInput(['placeholder' => $model->getAttributeLabel('password')])->label(false) ?>
		<button class="btn btn-lg btn-warning btn-block" type="submit">登录</button>
		<label class="checkbox">
			<?= $form->field($model, 'rememberMe')->checkbox() ?>
<!--			<input type="checkbox" value="remember-me"> -->
		</label>
	<?php ActiveForm::end(); ?>
<!--	</form>-->
</div>

